<template>
	<view class="box" :style="{'padding-top':systemHeight+28+'px'}">
		<view class="head">
			<image class="back" src="/static/img/back.png" @click="back()"></image>
			<view class="title">Promotion rules</view>
			<view class="right"></view>
		</view>
		
		<view class="content">
			<view class="text_title">Rule Title</view>
			<view class="text">Rule Content Text Description,Rule Content Text DescriptionRule</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				systemHeight: null
			}
		},
		created() {
			this.systemHeight = uni.getSystemInfoSync().statusBarHeight
		},
		methods: {
			back(){
				uni.navigateBack()
			}
		}
	}
</script>

<style>
	.box{
		position: fixed;
		width: 100%;
		height: 100vh;
	}
	.head{
		width: 92%;
		margin: 0rpx auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-family: Mont;
		font-weight: bold;
		font-size: 32rpx;
	}
	.back{
		width: 18rpx;
		height: 30rpx;
	}
	.right{
		width: 18rpx;
	}
	.content{
		width: 92%;
		margin: 37rpx auto;
		display: flex;
		flex-direction: column;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.text_title{
		font-family: Mont;
		font-weight: bold;
		font-size: 32rpx;
	}
</style>